package com.tpp.entity;
//entity包一般用来存储对应数据库表结构的实体类
//实体类一般都是用来给service和controller mapper等提高辅助服务的。
public class User {
    public int User_id;
    public String User_name;
    public String Telephone;
    public int Sex;
    public String User_rank;
    public int User_exp;
    public String User_pwd;

    public User(String user_name, String telephone, int sex, String user_rank, int user_exp, String user_pwd) {

        User_name = user_name;
        Telephone = telephone;
        Sex = sex;
        User_rank = user_rank;
        User_exp = user_exp;
        User_pwd = user_pwd;
    }

    public User() {
    }

    public User(String user_name, String user_pwd) {
        User_name = user_name;
        User_pwd = user_pwd;
    }

    @Override
    public String toString() {
        return "User{" +
                "User_id=" + User_id +
                ", User_name='" + User_name + '\'' +
                ", Telephone='" + Telephone + '\'' +
                ", Sex=" + Sex +
                ", User_rank='" + User_rank + '\'' +
                ", User_exp=" + User_exp +
                ", User_pwd='" + User_pwd + '\'' +
                '}';
    }

    public int getUser_id() {
        return User_id;
    }

    public void setUser_id(int user_id) {
        User_id = user_id;
    }

    public String getUser_name() {
        return User_name;
    }

    public void setUser_name(String user_name) {
        User_name = user_name;
    }

    public String getTelephone() {
        return Telephone;
    }

    public void setTelephone(String telephone) {
        Telephone = telephone;
    }

    public int getSex() {
        return Sex;
    }

    public void setSex(int sex) {
        Sex = sex;
    }

    public String getUser_rank() {
        return User_rank;
    }

    public void setUser_rank(String user_rank) {
        User_rank = user_rank;
    }

    public int getUser_exp() {
        return User_exp;
    }

    public void setUser_exp(int user_exp) {
        User_exp = user_exp;
    }

    public String getUser_pwd() {
        return User_pwd;
    }

    public void setUser_pwd(String user_pwd) {
        User_pwd = user_pwd;
    }
}
